<template id='home'>
  <div class="home">
    <div class="path1Bg">
      <div class="path1">
        <img :src="evoIcon" class="evoIcon" />
        <div class="evoSurfers">
          <p class="title">EVO Surfers Governance Coin (EVO)</p>
          <p class="content content1">
            The EVO token is an essential part of Evo Surfers, with critical
            mechanisms that bind it to Evo Surfers and the game's values.
          </p>
        </div>
        <div class="whatEvo">
          <p class="title">What is EVO?</p>
          <p class="content">
            Evo is an ERC-20 utility token built on the Polygon blockchain,
            which Evo Surfers uses as the basis for the following transactions
            in the game.
          </p>
        </div>
      </div>
    </div>
    <div class="path2">
      <div class="purposes">
        <div
          class="purposeItem"
          v-for="(item, index) in purposeList"
          :key="index"
        >
          <div class="purposeTop">
            <img :src="item.icon" />
            <p class="purposeTitle">{{ item.title }}</p>
          </div>
          <p class="purposeDesc">{{ item.desc }}</p>
        </div>
      </div>
      <div class="pie">
        <p class="title">Distribution and Vesting</p>
        <img :src="pieImg" class="pieImg" />
        <ul class="pieGroup">
          <li class="pieItem" v-for="(item, index) in pieList" :key="index">
            <p class="pieItemTitle">{{ item.title }}</p>
            <p class="pieItemCount">{{ item.count }}</p>
            <p class="pieItemDesc">{{ item.desc }}</p>
          </li>
        </ul>
      </div>
      <div class="evog">
        <img :src="evogImg" class="evogImg" />
        <p class="title">EVOG</p>
        <p class="content">
          EVOG is the secondary currency in the game,which is produced by work
          and used for general consumption in the game.
        </p>
      </div>
      <div class="level">
        <img :src="levelImg" class="levelImg" />
        <p class="title">Level up cost</p>
        <p class="content">
          It can be used for upgrading,cultivation,synthesis and consumption of
          CaCha
        </p>
      </div>
      <div class="cost">
        <img :src="costImg" class="costImg" />
        <p class="title">Explore cost</p>
        <p class="content">
          Ticket consumption that can be used for adventure play.
        </p>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "home",
  components: {},
  data() {
    return {
      evoIcon: require("@/assets/images/introduce/evo.png"),
      pieImg: require("@/assets/images/introduce/pie.png"),
      evogImg: require("@/assets/images/introduce/evog.png"),
      levelImg: require("@/assets/images/introduce/level.png"),
      costImg: require("@/assets/images/introduce/cost.png"),
      purposeList: [
        {
          icon: require("@/assets/images/introduce/purpose1.png"),
          title: "Purchasing CaCha",
          desc: "Players spend EVO to get a unique NFT character in the game - and can use the character to collect EVO through gameplay.",
        },
        {
          icon: require("@/assets/images/introduce/purpose2.png"),
          title: "Purchasing Investment Patents",
          desc: "Players spend EVO to acquire patents to gain exclusive rights, which can generate significant passive revenue from whoever uses the patent for the holder.",
        },
        {
          icon: require("@/assets/images/introduce/purpose3.png"),
          title: "Purchasing Land",
          desc: "Plots of land are valuable player assets in the game. Players can build their buildings on the plots, either for their residence or a function.",
        },
      ],
      pieList: [
        {
          title: "Public sale",
          count: "2%",
          desc: "TGE is 20%, followed by a 4-month cliff, and then unlocks linearly over 6 months.",
        },
        {
          title: "Private Investors",
          count: "15%",
          desc: "10% at TGE, followed by a 4-month cliff, then unlocks linearly over 12 months.",
        },
        {
          title: "Team + Advisors",
          count: "17%",
          desc: "A 12-month cliff then unlocks linearly over 12 months.",
        },
        {
          title: "P2E",
          count: "51%",
          desc: "At TGE 30%.",
        },
        {
          title: "Marketing",
          count: "12.5%",
          desc: "20% at TGE, followed by a 4-month cliff, then unlocks linearly over 12 months.",
        },
        {
          title: "Liquidity",
          count: "2.5%",
          desc: "Provide liquidity for the Evo Surfers ecosystem.",
        },
      ],
    };
  },
  computed: {},
  watch: {},
  methods: {},
  created() {},
  mounted() {},
};
</script>

<style lang='less' scoped>
.home {
  margin-top: -220px;
  user-select: none;
  .title {
    display: flex;
    justify-content: center;
    color: #eceaed;
    font-size: 60px;
    line-height: 36px;
    margin-bottom: 45px;
    font-weight: 300;
  }
  .content {
    display: flex;
    justify-content: center;
    color: #eceaed;
    font-size: 36px;
    line-height: 42px;
    font-weight: 300;
  }
  .path1Bg {
    background-image: url("../assets/images/introduce/bg1.png");
    background-size: 100% 100%;
    width: 100%;
    height: 1080px;
    .path1 {
      padding: 146px 261px 0 261px;
      display: flex;
      flex-direction: column;
      align-items: center;
      .evoIcon {
        width: 266px;
        height: 283px;
      }
      .evoSurfers {
        margin-top: -5px;
        .content1 {
          width: 100%;
          margin: 0 auto;
        }
      }
      .whatEvo {
        margin-top: 163px;
      }
    }
  }
  .path2 {
    padding: 16px 261px 200px 261px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: linear-gradient(#1f273b, #192539);
    margin-top: -20px;
    .purposes {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      .purposeItem {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        .purposeTop {
          display: flex;
          flex-direction: column;
          align-items: center;
          .purposeTitle {
            color: #eceaed;
            font-size: 36px;
            font-weight: 300;
            margin-bottom: 12px;
            margin-top: 65px;
            text-align: center;
            line-height: 43px;
            height: 83px;
          }
        }
      }
      .purposeDesc {
        width: 93%;
        padding: 16px 7px;
        background-color: rgba(0, 0, 0, 0.2);
        color: #eceaed;
        font-size: 36px;
        line-height: 43px;
        font-weight: 300;
        text-align: center;
        height: 375px;
      }
      .purposeItem:first-child {
        img {
          width: 221px;
          height: 238px;
        }
      }
      .purposeItem:nth-child(2) {
        img {
          width: 209px;
          height: 460px;
        }
      }
      .purposeItem:nth-child(3) {
        img {
          width: 367px;
          height: 319px;
        }
      }
    }
    .pie {
      margin-top: 171px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      .pieImg {
        margin-top: 55px;
        width: 900px;
        height: 772px;
        margin-left: 196px;
      }
      .pieGroup {
        margin-top: 69px;
        width: 100%;
        font-size: 32px;
        color: #eceaed;
        .pieItem {
          display: flex;
          align-items: center;
          justify-content: space-between;
          margin-bottom: 24px;
          .pieItemTitle {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 300px;
            height: 100px;
            background-color: rgba(0, 0, 0, 0.2);
            text-align: center;
            line-height: 38px;
          }
          .pieItemCount {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100px;
            height: 100px;
            background-color: rgba(0, 0, 0, 0.2);
            margin: 0 20px;
          }
          .pieItemDesc {
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 950px;
            height: 60px;
            line-height: 38px;
            padding: 20px 15px;
            background-color: rgba(0, 0, 0, 0.2);
          }
        }
      }
    }
    .evog {
      margin-top: 171px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      .evogImg {
        width: 171px;
        height: 186px;
        margin-bottom: 45px;
      }
    }
    .level {
      margin-top: 171px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      .levelImg {
        width: 885px;
        height: 657px;
        margin-bottom: 45px;
      }
    }
    .cost {
      margin-top: 171px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      .costImg {
        width: 321px;
        height: 304px;
        margin-bottom: 45px;
      }
    }
  }
}
@media screen and (max-width: 450px) {
  .home {
    .title {
      font-weight: 400;

      line-height: 80px;
      text-align: center;
    }
    .content {
      text-align: center;
    }
    .path1Bg {
      .path1 {
        padding: 146px 100px 0 100px;
        .evoSurfers {
          .content1 {
            width: 100%;
          }
        }
      }
    }
    .path2 {
      padding: 16px 100px 200px 100px;
      .purposes {
        margin-top: 80px;
        flex-direction: column;
        .purposeItem {
          padding: 0 150px;
          margin-top: 80px;
          .purposeTop {
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-top: 40px;
            background-color: rgba(0, 0, 0, 0.1);
          }
          .purposeDesc {
            width: auto;
          }
        }
      }
      .pie {
        width: 100%;
        .pieImg {
          width: 692px;
          height: 593px;
          margin-left: 0;
        }
        .pieGroup {
          margin-top: 19px;
          .pieItem {
            margin-top: 50px;
            flex-wrap: wrap;
            justify-content: center;
            .pieItemDesc {
              margin-top: 20px;
            }
          }
        }
      }
    }
  }
}
</style>